XdsObjects Help file
General XdsObjects information / Server Certificates
In This Topic
    Server Certificates
    In This Topic

    Under the Windows communication framework, applications do not themselves listen directly on ports for incoming http connections - rather they ask Windows to do this for them, and to pass on requests which "match" the requested URL pattern.  Whilst this works fine for unsecured (http) traffic, it causes complications for secure (https) traffic, since the destination URL is only known after the certificates and security parameters have been negotiated, and so these must be set at a system level, rather than by any one of the applications which might happen to be listening on the chosen port.

    Therefore, to listen using https, it is necessary not only to use the XdsMtomServer.Listen or XdsSoapServer.Listen methods, but also the system must be configured using httpcfg (for XP/2003 systems) or netsh (for Vista/Windows 7/Server 2008 systems).

    Step by step guide (for XP using httpcfg - netsh is similar)

    httpcfg set ssl -m 1 -i 0.0.0.0:XXX -f 2 -h YYYYY